<template>
	<view class="button" @click="clickFun">
		<slot></slot>
	</view>
</template>

<script>
	export default{
		 props:{},
		 methods:{
			 clickFun(){
				 this.$emit('clickFun')
			 }
		 }
	}
</script>

<style lang="scss" scoped>
	.button{
		width: 106*2rpx;
		height: 46*2rpx;
		background: #69DA73;
		border-radius: 23*2rpx;
		font-size: 18*2rpx;
		font-family: PingFangSC-Regular, PingFang SC;
		font-weight: 400;
		color: #FFFFFF;
		line-height: 46*2rpx;
		text-align: center;
		margin:0 auto;
	};
</style>
